package com.sw.bbs.board.service;

import com.sw.bbs.board.vo.request.board.OperaBoardRequest;
import com.sw.bbs.board.vo.request.comment.OperaCommentRequest;
import com.sw.bbs.board.vo.request.post.OperaPostRequest;
import com.sw.bbs.common.common.ServiceException;

import javax.servlet.http.HttpServletRequest;

public interface ProfileOperaService {
    /**
     * 对板块的操作
     *
     * @param request
     * @param httpServletRequest
     * @return
     */
    Integer operaBoard(OperaBoardRequest request, HttpServletRequest httpServletRequest) throws ServiceException;


    /**
     * 对帖子的操作
     *
     * @param request
     * @param httpServletRequest
     * @return
     */
    Integer operaPost(OperaPostRequest request, HttpServletRequest httpServletRequest) throws ServiceException;

    /**
     * 对评论的操作
     *
     * @param request
     * @param httpServletRequest
     * @return
     */
    Integer operaComment(OperaCommentRequest request, HttpServletRequest httpServletRequest) throws ServiceException;


}
